package com.hdaccp.letting.config;

import com.hdaccp.letting.bean.entity.Users;
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {
    @Bean
    public Users getUsers(){
        Users users = new Users() ;
        users.setId(1);
        users.setName("李涛");
        users.setAddress("邯郸邯山");
        return users ;
    }

}
